﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            font-size: 20px;
        }

        #father {
            width: 380px;
            margin: 50px auto;
            height: 385px;
            position: relative;
        }

        .message {
            font-size: 15px;
        }

        #buttons {
            display: block;
            margin-bottom: 20px;
        }

        #BTNSubmit {
            position: absolute;
            right: 50px;
        }

        p {
            font-weight: bolder;
        }
    </style>
</head>
<body>
    <div id="father">
        <form id="form1" runat="server">
            <table>
                <tr>
                    <th></th>
                    <th>
                        <%="顾客信息登记系统" %>
                    </th>
                </tr>

                <tr>
                    <td>
                        <%="姓名：" %>
                    </td>
                    <td>
                        <asp:TextBox ID="TBXName" runat="server"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td>
                        <%="年龄：" %>
                    </td>
                    <td>
                        <asp:TextBox ID="TBXAge" runat="server"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td>
                        <%="爱好：" %>
                    </td>
                    <td>
                        <asp:TextBox ID="TBXHobby" runat="server" Height="117px" Width="230px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td></td>
                    <td id="buttons">
                        <asp:Button ID="BTNSubmit" runat="server" Text="提交" OnClick="BTNSubmit_Click" />
                    </td>
                </tr>

                <tr class="message">
                    <td colspan="2">
                        <asp:Label ID="LabelHello" runat="server"></asp:Label>
                    </td>
                </tr>

                <tr class="message">
                    <td></td>
                    <td>
                        <p>
                            <asp:Label ID="LabelCheck" runat="server" Text=""></asp:Label>
                        </p>
                        <asp:Label ID="LabelInfo" runat="server" Text=""></asp:Label>
                    </td>
                </tr>

            </table>
        </form>
    </div>
</body>
</html>
